fx-9860GII
On a Casio calculator you can select logic operations
| |
|
SET UP |
|
|
|
|
|
|
|
LOG |
| SHIFT |
|
MENU |
|
Mode |
|
≣ |
|
EXE |
|
F2 |
or via the catalog as
CATALOG P |
|
|
INPUT |
| SHIFT |
|
4 |
|
LOG |
|
F1 |
|
A logical operator always produces either 0 or 1 as its result. The specified SET UP Mode Dec, Hex, Bin, Oct brings you to this menu.
Explanation
| Neg |
Negation
Neg
Two's complement.
|
| Not |
Logical NOT
Not
One's complement (bitwise complement).
|
| and |
Logical AND
and
Bitwise.
|
| or |
Logical OR
Or
Bitwise.
|
| xor |
Logical XOR
xor
Bitwise.
|
| xnor |
Logical XNOR
xnor
Bitwise.
|
Example 1
To determine the negative value of 1100102
| Neg |
|
|
| ≣ |
1 1 0 0 1 0 |
EXE |
|
Neg 110010 |
|
1111111111001110 |